Skip to content

fix(65069): preserve contextual types for array-destructured parameter defaults - #65070

Open
Timur Vural (timurzvural) wants to merge 1 commit into
microsoft:mainfrom
timurzvural:fix/65069-array-destructured-default
Open

Timur Vural (timurzvural) wants to merge 1 commit into
microsoft:mainfrom
timurzvural:fix/65069-array-destructured-default

Conversation

@timurzvural

Copy link
Copy Markdown
Contributor

Fixes #65069.

Bug

In 7.1, a destructured parameter with a default like = [] loses its contextual type and reports TS7031 on binding elements. The object form (= {}) is #64974; this PR covers the array form and also guards object padding the same way.

type F = (input?: [string?, number?]) => number;
export const f: F = ([a, b] = []) => (a ? 1 : 0) + (b ?? 0);

Fix

In checkDeclarationInitializer, only call padTupleType / padObjectLiteralType when getContextualTypeForVariableLikeDeclaration(root, ContextFlagsNone) == nil. Padding invents any-typed missing elements and must not override a contextual parameter type.

Tests

Extended objectBindingPatternDefaultMissingElements.ts (and baselines) with array/= [] cases from #65069 and an object/= {} case.

Related

AI assistance disclosure

This PR was authored with assistance from Cursor Agent. I have read and understand the change and am prepared to discuss and revise it in review.

…r defaults

Skip padTupleType when the parameter already has a contextual type, matching
the object-pattern guard for microsoft#64974. Also apply the same guard to
padObjectLiteralType so object `= {}` defaults keep working on the same path.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings October 31, 2026 01:01
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Oct 31, 2026
@typescript-automation typescript-automation Bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Oct 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change preserving contextual types in destructured parameter defaults has no active review issues.

No open issues 🎉

What changed in this PR

Fixes #65069 by preserving contextual types for array-destructured parameter defaults in the native TypeScript checker. The same guard also addresses object defaults from #64974.

Changes:

  • Skip tuple and object padding when the parameter has a contextual type.
  • Add regression cases for object defaults, array defaults, callbacks, and nested/rest destructuring.
  • Update type, symbol, and diagnostic baselines.
File Description
tsc/​testdata/​tests/​cases/​compiler/​objectBindingPatternDefaultMissingElements.ts Adds contextual-typing regression cases.
tsc/​testdata/​baselines/​reference/​compiler/​objectBindingPatternDefaultMissingElements.types Records preserved binding-element types.
tsc/​testdata/​baselines/​reference/​compiler/​objectBindingPatternDefaultMissingElements.symbols Records symbols for the added cases.
tsc/​testdata/​baselines/​reference/​compiler/​objectBindingPatternDefaultMissingElements.errors.txt Records expected assignment errors that verify contextual typing.
tsc/​internal/​checker/​checker.go Guards object and tuple padding with a contextual-type check.

Review effort: Balanced

@typescript-automation typescript-automation Bot added For Backlog Bug PRs that fix a backlog bug and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 3, 2026
@RyanCavanaugh

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) test it

@typescript-automation

typescript-automation Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started ✅ Results
perf test this faster ✅ Started 👀 Results

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Ryan Cavanaugh (@RyanCavanaugh), the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-automation

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh) Here are the results of running the user tests with tsc comparing baseline and pr:

Everything looks good!

@typescript-automation

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - native
Errors 41 41 ~ ~ ~ p=1.000 n=20
Symbols 88,466 88,466 ~ ~ ~ p=1.000 n=20
Types 79,607 79,607 ~ ~ ~ p=1.000 n=20
Memory Used 107,473k (± 0.03%) 107,510k (± 0.03%) ~ 107,351k 107,645k p=0.151 n=20
Memory Allocs 1,262,365 (± 0.01%) 1,262,345 (± 0.01%) ~ 1,261,903 1,262,601 p=0.784 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.022s (± 2.98%) 0.022s (± 3.18%) ~ 0.019s 0.024s p=0.873 n=20
Bind Time 0.008s (± 5.21%) 0.008s (± 5.81%) ~ 0.007s 0.010s p=0.768 n=20
Check Time 0.210s (± 0.65%) 0.210s (± 0.65%) ~ 0.204s 0.214s p=0.856 n=20
Emit Time 0.132s (± 1.23%) 0.132s (± 1.09%) ~ 0.128s 0.140s p=0.845 n=20
Total Time 0.376s (± 0.36%) 0.376s (± 0.42%) ~ 0.370s 0.384s p=0.671 n=20
angular-1 - native
Errors 3 3 ~ ~ ~ p=1.000 n=20
Symbols 586,553 586,553 ~ ~ ~ p=1.000 n=20
Types 241,682 241,682 ~ ~ ~ p=1.000 n=20
Memory Used 519,768k (± 0.02%) 519,800k (± 0.01%) ~ 519,359k 520,047k p=0.289 n=20
Memory Allocs 7,800,419 (± 0.16%) 7,793,467 (± 0.10%) ~ 7,780,410 7,833,320 p=0.289 n=20
Config Time 0.008s (± 2.64%) 0.008s (± 2.51%) ~ 0.008s 0.009s p=1.000 n=20
Parse Time 0.125s (± 5.46%) 0.126s (± 4.35%) ~ 0.117s 0.158s p=0.422 n=20
Bind Time 0.047s (±11.45%) 0.039s (± 7.53%) ~ 0.035s 0.059s p=0.090 n=20
Check Time 0s 0s ~ ~ ~ p=1.000 n=20
Emit Time 0.627s (± 0.72%) 0.625s (± 0.58%) ~ 0.616s 0.647s p=0.489 n=20
Total Time 0.822s (± 0.77%) 0.808s (± 0.92%) -0.014s (- 1.67%) 0.789s 0.844s p=0.005 n=20
arktype - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 685,920 685,920 ~ ~ ~ p=1.000 n=20
Types 939,467 939,467 ~ ~ ~ p=1.000 n=20
Memory Used 495,316k (± 0.01%) 495,331k (± 0.01%) ~ 495,197k 495,546k p=0.351 n=20
Memory Allocs 12,064,148 (± 0.02%) 12,063,726 (± 0.02%) ~ 12,059,430 12,072,416 p=0.507 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.042s (± 4.56%) 0.042s (± 4.15%) ~ 0.037s 0.055s p=0.867 n=20
Bind Time 0.013s (± 9.67%) 0.014s (±10.26%) ~ 0.011s 0.020s p=0.347 n=20
Check Time 0.885s (± 0.71%) 0.877s (± 0.68%) ~ 0.859s 0.896s p=0.113 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.967s (± 0.70%) 0.962s (± 0.57%) ~ 0.945s 0.989s p=0.260 n=20
class-transformer - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 45,376 45,376 ~ ~ ~ p=1.000 n=20
Types 7,573 7,573 ~ ~ ~ p=1.000 n=20
Memory Used 27,894k (± 0.03%) 27,889k (± 0.03%) ~ 27,862k 27,917k p=0.516 n=20
Memory Allocs 248,323 (± 0.06%) 248,297 (± 0.05%) ~ 247,953 248,919 p=0.794 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.011s (± 3.61%) 0.011s (± 3.08%) ~ 0.009s 0.012s p=1.000 n=20
Bind Time 0.003s (±11.33%) 0.003s (±11.26%) ~ 0.002s 0.005s p=0.644 n=20
Check Time 0.008s (± 5.24%) 0.008s (± 7.21%) ~ 0.006s 0.010s p=0.791 n=20
Emit Time 0.007s (± 8.32%) 0.008s (± 7.94%) ~ 0.006s 0.010s p=0.515 n=20
Total Time 0.031s (± 2.15%) 0.031s (± 2.04%) ~ 0.027s 0.033s p=0.677 n=20
effect - native
Errors 12 12 ~ ~ ~ p=1.000 n=20
Symbols 1,235,115 1,235,115 ~ ~ ~ p=1.000 n=20
Types 894,113 894,113 ~ ~ ~ p=1.000 n=20
Memory Used 949,958k (± 0.02%) 949,897k (± 0.02%) ~ 949,037k 951,152k p=0.410 n=20
Memory Allocs 12,640,064 (± 0.03%) 12,639,229 (± 0.03%) ~ 12,631,905 12,658,449 p=0.904 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.149s (± 2.54%) 0.146s (± 1.95%) ~ 0.137s 0.162s p=0.213 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.876s (± 0.97%) 0.867s (± 1.01%) ~ 0.842s 0.902s p=0.167 n=20
Emit Time 0.475s (± 1.54%) 0.482s (± 1.51%) ~ 0.449s 0.508s p=0.239 n=20
Total Time 1.589s (± 0.56%) 1.589s (± 0.56%) ~ 1.558s 1.618s p=0.984 n=20
mui-docs - native
Errors 11,405 11,405 ~ ~ ~ p=1.000 n=20
Symbols 3,784,019 3,784,019 ~ ~ ~ p=1.000 n=20
Types 1,355,974 1,355,974 ~ ~ ~ p=1.000 n=20
Memory Used 1,766,888k (± 0.06%) 1,768,703k (± 0.07%) +1,815k (+ 0.10%) 1,763,372k 1,774,544k p=0.033 n=20
Memory Allocs 25,724,473 (± 0.16%) 25,750,288 (± 0.14%) ~ 25,646,211 25,947,706 p=0.242 n=20
Config Time 0.009s (± 2.37%) 0.009s (± 6.03%) ~ 0.008s 0.014s p=0.264 n=20
Parse Time 0.310s (± 3.45%) 0.309s (± 4.34%) ~ 0.270s 0.371s p=0.723 n=20
Bind Time 0.001s (± 9.93%) 0.001s ~ ~ ~ p=1.000 n=20
Check Time 3.192s (± 1.94%) 3.226s (± 2.00%) ~ 3.085s 3.521s p=0.298 n=20
Emit Time 0.266s (± 3.20%) 0.263s (± 1.87%) ~ 0.247s 0.286s p=0.857 n=20
Total Time 4.304s (± 1.85%) 4.351s (± 1.98%) ~ 4.159s 4.760s p=0.387 n=20
sentry - native
Errors 2 1 🟩-1 (-50.00%) ~ ~ p=0.000 n=20
Symbols 4,793,245 4,793,244 -1 (- 0.00%) ~ ~ p=0.000 n=20
Types 2,606,905 2,606,901 -4 (- 0.00%) ~ ~ p=0.000 n=20
Memory Used 2,845,946k (± 0.02%) 2,846,137k (± 0.02%) ~ 2,844,266k 2,848,417k p=0.645 n=20
Memory Allocs 75,262,190 (± 0.27%) 75,188,811 (± 0.30%) ~ 74,631,881 76,367,991 p=0.547 n=20
Config Time 0.026s (± 0.93%) 0.026s (± 0.80%) ~ 0.026s 0.028s p=0.605 n=20
Parse Time 0.502s (± 3.51%) 0.509s (± 3.75%) ~ 0.452s 0.624s p=0.794 n=20
Bind Time 0.169s (±11.67%) 0.147s (± 7.93%) ~ 0.124s 0.212s p=0.109 n=20
Check Time 7.012s (± 0.75%) 7.004s (± 0.83%) ~ 6.808s 7.176s p=0.857 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 7.765s (± 0.81%) 7.739s (± 0.93%) ~ 7.495s 8.011s p=0.560 n=20
social-app - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,883,074 1,883,060 -14 (- 0.00%) ~ ~ p=0.000 n=20
Types 1,158,168 1,158,160 -8 (- 0.00%) ~ ~ p=0.000 n=20
Memory Used 967,056k (± 0.01%) 966,910k (± 0.02%) ~ 966,352k 968,092k p=0.108 n=20
Memory Allocs 13,489,513 (± 0.12%) 13,518,975 (± 0.27%) ~ 13,439,483 13,739,954 p=0.231 n=20
Config Time 0.008s (± 3.08%) 0.008s (± 3.08%) ~ 0.007s 0.008s p=1.000 n=20
Parse Time 0.159s (± 3.71%) 0.163s (± 4.06%) ~ 0.150s 0.199s p=0.323 n=20
Bind Time 0.040s (± 7.30%) 0.046s (±14.83%) ~ 0.036s 0.096s p=0.095 n=20
Check Time 1.442s (± 1.19%) 1.432s (± 0.99%) ~ 1.399s 1.504s p=0.358 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.666s (± 1.12%) 1.667s (± 0.99%) ~ 1.616s 1.738s p=0.794 n=20
strada-build-src - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,184,972 1,184,972 ~ ~ ~ p=1.000 n=20
Types 438,959 438,959 ~ ~ ~ p=1.000 n=20
Memory Used 1,173,951k (± 0.37%) 1,180,076k (± 0.49%) +6,125k (+ 0.52%) 1,163,598k 1,218,768k p=0.038 n=20
Memory Allocs 47,632,891 (± 0.14%) 47,658,810 (± 0.12%) ~ 47,405,938 47,876,068 p=0.738 n=20
Config Time 0.002s (±23.93%) 0.002s (±24.27%) ~ 0.000s 0.004s p=0.566 n=20
Parse Time 0.150s (± 2.56%) 0.151s (± 1.43%) ~ 0.142s 0.160s p=0.995 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.865s (± 1.06%) 0.877s (± 1.11%) +0.012s (+ 1.36%) 0.835s 0.928s p=0.027 n=20
Emit Time 0.151s (± 2.95%) 0.154s (± 2.51%) ~ 0.141s 0.169s p=0.298 n=20
Total Time 10.089s (± 0.86%) 10.259s (± 1.01%) +0.170s (+ 1.68%) 9.903s 10.720s p=0.025 n=20
strada-compiler - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 263,511 263,511 ~ ~ ~ p=1.000 n=20
Types 196,116 196,116 ~ ~ ~ p=1.000 n=20
Memory Used 223,549k (± 0.02%) 223,546k (± 0.02%) ~ 223,428k 223,758k p=0.857 n=20
Memory Allocs 2,390,727 (± 0.01%) 2,390,986 (± 0.01%) ~ 2,389,783 2,392,460 p=0.277 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.050s (± 3.31%) 0.049s (± 3.90%) ~ 0.043s 0.057s p=0.415 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.377s (± 1.82%) 0.376s (± 1.67%) ~ 0.358s 0.406s p=0.878 n=20
Emit Time 0.050s (± 4.93%) 0.047s (± 5.59%) ~ 0.041s 0.057s p=0.309 n=20
Total Time 0.504s (± 1.50%) 0.500s (± 1.31%) ~ 0.484s 0.535s p=0.239 n=20
t3code-server - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 4,350,661 4,350,661 ~ ~ ~ p=1.000 n=20
Types 3,040,644 3,040,644 ~ ~ ~ p=1.000 n=20
Memory Used 2,417,678k (± 0.02%) 2,417,647k (± 0.02%) ~ 2,415,917k 2,419,479k p=0.968 n=20
Memory Allocs 37,165,229 (± 0.08%) 37,166,508 (± 0.08%) ~ 37,086,645 37,330,049 p=0.989 n=20
Config Time 0.003s 0.003s (± 3.54%) ~ 0.002s 0.003s p=1.000 n=20
Parse Time 0.252s (± 2.27%) 0.249s (± 2.36%) ~ 0.229s 0.271s p=0.683 n=20
Bind Time 0.080s (± 6.76%) 0.088s (± 9.90%) ~ 0.072s 0.130s p=0.187 n=20
Check Time 5.746s (± 0.40%) 5.772s (± 0.54%) ~ 5.687s 5.940s p=0.279 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 6.092s (± 0.45%) 6.125s (± 0.58%) ~ 6.017s 6.318s p=0.180 n=20
tanstack-router - native
Errors 1 1 ~ ~ ~ p=1.000 n=20
Symbols 571,756 571,756 ~ ~ ~ p=1.000 n=20
Types 397,689 397,689 ~ ~ ~ p=1.000 n=20
Memory Used 326,503k (± 0.02%) 326,501k (± 0.02%) ~ 326,293k 326,722k p=0.920 n=20
Memory Allocs 4,334,484 (± 0.16%) 4,334,903 (± 0.15%) ~ 4,319,602 4,359,954 p=0.841 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.039s (± 3.42%) 0.039s (± 2.79%) ~ 0.035s 0.044s p=0.531 n=20
Bind Time 0.012s (± 9.09%) 0.012s (± 8.10%) ~ 0.010s 0.017s p=0.924 n=20
Check Time 0.505s (± 0.65%) 0.510s (± 1.06%) ~ 0.492s 0.531s p=0.285 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.576s (± 0.90%) 0.579s (± 1.01%) ~ 0.561s 0.599s p=0.723 n=20
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=20
Symbols 231,616 231,616 ~ ~ ~ p=1.000 n=20
Types 181,195 181,195 ~ ~ ~ p=1.000 n=20
Memory Used 192,961k (± 0.02%) 192,960k (± 0.02%) ~ 192,829k 193,088k p=0.989 n=20
Memory Allocs 1,311,085 (± 0.02%) 1,311,224 (± 0.02%) ~ 1,310,071 1,313,356 p=0.569 n=20
Config Time 0.000s (±208.60%) 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.048s (± 3.30%) 0.047s (± 3.20%) ~ 0.041s 0.056s p=0.370 n=20
Bind Time 0.022s (± 7.00%) 0.024s (± 7.62%) ~ 0.018s 0.030s p=0.093 n=20
Check Time 0.340s (± 2.97%) 0.342s (± 3.24%) ~ 0.309s 0.383s p=0.920 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.416s (± 2.66%) 0.419s (± 2.92%) ~ 0.381s 0.460s p=0.825 n=20
vscode - native
Errors 11 11 ~ ~ ~ p=1.000 n=20
Symbols 7,636,537 7,636,537 ~ ~ ~ p=1.000 n=20
Types 4,487,680 4,487,680 ~ ~ ~ p=1.000 n=20
Memory Used 5,275,537k (± 0.02%) 5,276,938k (± 0.02%) +1,401k (+ 0.03%) 5,272,979k 5,285,064k p=0.043 n=20
Memory Allocs 57,748,067 (± 0.02%) 57,740,372 (± 0.01%) ~ 57,722,607 57,786,141 p=0.183 n=20
Config Time 0.034s (± 1.11%) 0.034s (± 1.27%) ~ 0.033s 0.036s p=0.403 n=20
Parse Time 0.905s (± 1.86%) 0.899s (± 1.17%) ~ 0.848s 0.937s p=0.425 n=20
Bind Time 0.320s (± 6.68%) 0.308s (± 4.15%) ~ 0.291s 0.422s p=0.703 n=20
Check Time 7.905s (± 0.81%) 7.904s (± 0.61%) ~ 7.741s 8.068s p=0.779 n=20
Emit Time 2.024s (± 6.76%) 1.981s (± 5.24%) ~ 1.874s 2.757s p=0.597 n=20
Total Time 11.248s (± 1.14%) 11.186s (± 1.04%) ~ 10.935s 11.911s p=0.365 n=20
webpack - native
Errors 611 611 ~ ~ ~ p=1.000 n=20
Symbols 884,750 884,750 ~ ~ ~ p=1.000 n=20
Types 624,363 624,363 ~ ~ ~ p=1.000 n=20
Memory Used 651,745k (± 0.02%) 651,751k (± 0.02%) ~ 651,477k 652,206k p=0.968 n=20
Memory Allocs 6,046,414 (± 0.06%) 6,048,191 (± 0.05%) ~ 6,037,136 6,060,222 p=0.277 n=20
Config Time 0.004s 0.004s ~ ~ ~ p=1.000 n=20
Parse Time 0.123s (± 2.30%) 0.124s (± 1.79%) ~ 0.117s 0.134s p=0.673 n=20
Bind Time 0.040s (±10.09%) 0.039s (± 5.92%) ~ 0.034s 0.054s p=0.334 n=20
Check Time 1.051s (± 0.76%) 1.052s (± 1.05%) ~ 1.014s 1.104s p=0.899 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.240s (± 0.64%) 1.243s (± 0.85%) ~ 1.208s 1.296s p=0.878 n=20
xstate-main - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 640,490 640,490 ~ ~ ~ p=1.000 n=20
Types 387,984 387,984 ~ ~ ~ p=1.000 n=20
Memory Used 350,136k (± 0.04%) 350,067k (± 0.03%) ~ 349,772k 350,570k p=0.465 n=20
Memory Allocs 3,969,972 (± 0.07%) 3,968,979 (± 0.08%) ~ 3,954,226 3,982,439 p=0.565 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.059s (± 2.53%) 0.059s (± 2.80%) ~ 0.052s 0.064s p=0.577 n=20
Bind Time 0.019s (±10.79%) 0.020s (±12.73%) ~ 0.015s 0.033s p=0.558 n=20
Check Time 0.381s (± 0.78%) 0.381s (± 0.97%) ~ 0.369s 0.395s p=0.663 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.466s (± 0.86%) 0.466s (± 1.16%) ~ 0.450s 0.487s p=0.733 n=20
System info unknown
Hosts
  • native
Scenarios
  • Compiler-Unions - native
  • angular-1 - native
  • arktype - native
  • class-transformer - native
  • effect - native
  • mui-docs - native
  • sentry - native
  • social-app - native
  • strada-build-src - native
  • strada-compiler - native
  • t3code-server - native
  • tanstack-router - native
  • ts-pre-modules - native
  • vscode - native
  • webpack - native
  • xstate-main - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

Developer Information:

Download Benchmarks

@typescript-automation

Copy link
Copy Markdown
Contributor

Ryan Cavanaugh (@RyanCavanaugh) Here are the results of running the top 400 repos with tsc comparing baseline and pr:

Everything looks good!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

7.1: array-destructured parameter with a = [] default loses its contextual type (TS7031)

3 participants